package com.marco.system.service;

import com.marco.system.domain.FourLevelAdInfo;

import java.util.List;
import java.util.Map;

/**
 * FourLevelAdInfoService.java
 * Create on 2017/4/18
 * Copyright(c) JD Inc 2017. All Rights Reserved.
 * <pre>
 * 功能说明：
 * </pre>
 */
public interface FourLevelAdInfoService {

    //save
    void save(FourLevelAdInfo info);

    void updateLngAndLat(FourLevelAdInfo info);

    Map<String, List<FourLevelAdInfo>> getChinaForthLevelMap();

    FourLevelAdInfo getInfoByLngAndLat(String lng, String lat);

    FourLevelAdInfo getInfoByName(String province, String city, String district);

    FourLevelAdInfo getInfoByNameAndParentCode(String shortName, String parentCode, Double lng, Double lat);


}
